class User_Induced_Error(Exception):
    """用于对用户不正当的使用报错"""
    def __init__(self, out:str):
        self.out = out

    def __str__(self):
        return self.out

class You_Lost(Exception):
    """用户踩雷，结束游戏"""
    def __str__(self):
        return "恭喜你，喜提地雷一枚"

class you_win(Warning):
    """用户获胜"""
    def __str__(self):
        return "恭喜你，喜提奖杯一座"
